/*
 * Copyright 2010-2012 Susanta Tewari. <freecode4susant@users.sourceforge.net>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package gui.genomemap.event.event;

import java.util.EventObject;

/**
 *
 * @author stewari1
 */
public class WorkerEvent extends EventObject {

    /** Field description */
    public static final int COM_GLHOOD = 1;

    /** Field description */
    public static final int COM_PLHOOD = 2;

    /** Field description */
    public static final int COM_JLHOOD = 3;

    /** Field description */
    public static final int ANNEAL = 4;

    /** Field description */
    public static final int PROG_CURVE = 5;

    /** Field description */
    private int type = -1;

    /**
     * Constructs ...
     *
     * @param source description
     * @param type description
     */
    WorkerEvent(Object source, int type) {

        super(source);

        this.type = type;
    }

    public int getType() {
        return type;
    }
}
